package com.example.flex.service.generator;

import com.example.flex.domain.generator.DataBaseEntity;
import com.example.flex.utils.response.BaseResponse;

import java.sql.SQLException;
import java.util.List;

/**
 * @Author: 不是菜鸡爱编程
 * @Date: 2023/10/27/7:32
 * @Description:
 */
public interface DatabaseService {
    List<String> listDatabaseName();

    BaseResponse<?> connect(DataBaseEntity dataBase);

    BaseResponse<?> config(String packageName) throws SQLException;
}
